* {
    margin: 0;
    padding: 0;
}

body {
    background-color: rgb(245, 248, 249);
}

/* 顶部 */
header {
    width: 100%;
    height: 100px;
    background-color: white;
}

.header-container {
    width: 1140px;
    height: 100%;
    line-height: 100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    line-height: 32px;
    text-align: center;
    width: 106px;
    height: 32px;
    background-color: red;
    color: white;
}

.icon {
    width: 200px;
    height: 100px;
    line-height: 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.icon-item:hover{
    color: red;
}

.icon .log-out {
    width: 110px;
    height: 40px;
    color: white;
    text-align: center;
    background-color: red;
    line-height: 40px;  
}
.log-out:hover,.logo:hover{
    background-color: white;
    color: red;
}

.icon-item:nth-child(2) {
    margin-left: -20px;
    font-weight: bold;
}

/* 中间内容 */
.center-container {
    width: 1140px;
    height: 460x;
    margin: 0 auto 55px auto;
}

/* 文字展示的部分 */
.center-top {
    height: 140px;
    margin-top: 30px;
    /* background-color: rgb(138, 116, 87); */
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.text-title {
    font-size: 28px;
}

.text-title p {
    font-size: 14px;
    color: rgb(190, 190, 190);
}

.text-ul {
    width: 470px;
    height: 18px;
    display: flex;
    list-style: none;
    font-size: 12px;
    font-weight: bolder;
    justify-content: space-between;
}

.text-ul li:hover {
    border-bottom: 2px solid rgb(200, 200, 222);
}

/* 轮播图 */
.carousel-container {
    width: 1140px;
    height: 290px;
    display: flex;
    justify-content: space-between;
}
/* 左边轮播图方面 */
.carousel {
    width: 560px;
    height: 290px;
    background-color: white;
    padding: 10px;
    position: relative;
    box-sizing: border-box;
    
}
.carousel >div{
    width: 540px;
    height: 270px;
    overflow: hidden;
}
.carousel ul{
    display: flex;
    list-style: none;
   
}
.carousel img{
    width: 540px;
    height: 270px;
}
.carousel span{
    position: absolute;
    width: 25px;
    display:inline-block;
    height: 40px;
    font-size: 30px;
    cursor: pointer;
    color: white;
    background-color:black;
    top: 50%;
    transform: translate(0,-50%);
    left: 3%;
    opacity: 0.6;
}
.carousel span:nth-child(2){
    top: 50%;
    transform: translate(-100%,-50%);
    left: 97%;
}
.point{
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translate(-50%,0);
    display: flex;
    height: 10px;
}
.point div{
    margin: 6px;
    cursor: pointer;
    width: 10px;
    height: 10px;
    background-color: rgb(138, 132, 132);
    transition: all .2s;
}
.point .active{
    width: 10px;
    height: 13px;
    background-color: rgb(237, 233, 233);
    transform: translateY(-3px);
}



/* 右边网格方面 */
.grid-container {
    width: 560px;
    height: 290px;
    padding: 0 50px;
    background-color: white;
    box-sizing: border-box;
}

.text {
    display: flex;
    justify-content: space-between;
    height: 110px;
    align-items: center;
    border-bottom: 1px solid #efefef;
    font-size: 18px;
}

.text div:nth-child(2) {
    width: 95px;
    height: 42px;
    border: 2px solid #efefef;
    line-height: 42px;
    text-align: center;
    color: rgb(150, 150, 150);
}

.gird-data {
    display: grid;
    height: 180px;
    grid-template-columns: 1fr 2fr 2fr;
    grid-template-rows: repeat(3, 1fr);
    justify-items: start;
    align-items: center;
}

.gird-data div:nth-child(1),
.gird-data div:nth-child(2),
.gird-data div:nth-child(3) {
    font-weight: bolder;
}

.gird-data div:nth-child(3),
.gird-data div:nth-child(6),
.gird-data div:nth-child(9) {
    justify-self: end;
}

.gird-data div:nth-child(6),
.gird-data div:nth-child(9) {
    width: 70px;
    height: 30px;
    background-color: rgb(93, 208, 84);
    color: white;
    text-align: center;
    line-height: 30px;
}
.gird-data div:nth-child(6):hover,
.gird-data div:nth-child(9):hover{
    background-color: skyblue;
}

/* 折线图 */
.lineChart{
    margin-top: 20px;
    background-color: white;
    height: 350px;
}
/* 饼状图和柱状图 */
.chart-container{
    margin-top: 20px;
    height: 380px;
    display: flex;
    justify-content: space-between;
}
/* 并状体 */
.circular{
    width: 560px;
    background-color: white;
}
/* 柱状图 */
.column{
    width: 560px;
    background-color: white;
}

/* 页脚 */
footer{
    width: 100%;
    background-color: black;
}
footer > div{
    position: relative;
     width: 1140px;
    height: 250px; 
    margin: 0 auto;
} 
/* 页脚的logo */
.footer-logo{
    position: absolute;
    top: 80px;
    color: white;
    width: 105px;
    height: 30px;
    background-color: red;
    line-height: 30px;
    text-align: center;
}
/* 页脚连接 */
.footer-list1,.footer-list2{
    position: absolute;
    color: white;
    display: grid;
    top: 80px;
    left: 180PX;
    list-style: none;
    width: 975px;
    grid-template-columns:repeat(5,1fr) ;
    grid-template-rows: repeat(2,1fr);
    justify-content: space-between;
    grid-gap: 15px 15px; 
}
a{
    color: white;
}
.footer-list2{ 
    top: 152.5px;
    width: 780px;
    grid-template-columns:repeat(4,1fr) ;
    grid-template-rows: repeat(2,1fr);
}